/*
 * @Description: 功能与导航维护主页面
 * @Author: Rfan
 * @Date: 2022-04-20 17:16:40
 * @LastEditTime: 2022-04-21 18:27:33
 */

import classNames from 'classnames/bind';
import { FuncAndNavContextProvider } from './contexts/FuncAndNavContext';
import PageLayout from '@/layout/PageLayout';
import PageContent from './components/PageContent';
import styles from './styles/funcAndNav.module.scss';

const cx = classNames.bind(styles);

const FuncAndNavMain = () => {
  return (
    <>
      <FuncAndNavContextProvider>
        <PageLayout className={cx('func-and-nav-wrap')}>
          <PageContent />
        </PageLayout>
        {/* <div className="func-and-nav-wrap"> */}
        {/*  <div className={cx('content-wrap')}> */}
        {/*    <Operate /> */}
        {/*    <div className={cx('nav-info')}> */}
        {/*      <NavTree className={cx('nav-tree')} /> */}
        {/*      <NavDetail /> */}
        {/*    </div> */}
        {/*  </div> */}
        {/* </div> */}
      </FuncAndNavContextProvider>
    </>
  );
};

export default FuncAndNavMain;
